#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{ 
		double a, b, c;
		scanf("%lf %lf %lf", &a, &b, &c);
		double x, x1, x2;
		double real, imge;
		double dert = b * b - 4 * a * c;
		if (a == 0 && b == 0 && c == 0) {
			printf("Zero Equation");
		}
		else if (a == 0 && b == 0 && c != 0) {
			printf("Not An Equation");
		}
		else if (a == 0) {
			x = -c / b;
			printf("%.2lf", x);
		}
		else {
			if (dert > 0) {
				x1 = (-b + sqrt(dert)) / (2.0 * a);
				x2 = (-b - sqrt(dert)) / (2.0 * a);
				printf("%.2lf\n%.2lf\n", x1, x2);
			}
			else if (dert < 0) {
				if (b != 0) {
					real = -b / (2.0 * a);
					imge = sqrt(-dert) / (2.0 * a);
					printf("%.2lf%+.2lfi\n%.2lf%+.2lfi\n", real, imge, real, -imge);
				}
				else {
					double x = sqrt(-dert) * 1.0 / (2 * a);
					printf("%.2f+%.2lfi\n", 0.0, x);
					printf("%.2f+%.2lfi\n", 0.0, -x);
				}
			}
			else {
				printf("%.2lf\n", -b / (2.0 * a));
			}
		}
		return 0;
}